#include "builder.h"

int main(){
    std::unique_ptr<ComputerBuilder> gameComputerBuilder = std::make_unique<GameCoumputerBuiler>();
    std::unique_ptr<ComputerBuilder> workComputerBuilder = std::make_unique<WorkCoumputerBuiler>();
    Director director;
    gameComputerBuilder = director.Construct(std::move(gameComputerBuilder));
    std::shared_ptr<Computer> computer =  gameComputerBuilder->GetComputer();
    computer->show();

    workComputerBuilder = director.Construct(std::move(workComputerBuilder));
    std::shared_ptr<Computer> work = workComputerBuilder->GetComputer();
    work->show();
    return 0;
}